package server;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author ZhangGJ
 * @Date 2021/05/22 06:15
 */
public class Host {

    private int port;

    private String name;

    private String appBase;

    List<Mapper> mapperList = new ArrayList<>();

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Mapper> getMapperList() {
        return mapperList;
    }

    public void setMapperList(List<Mapper> mapperList) {
        this.mapperList = mapperList;
    }

    @Override
    public String toString() {
        return "Host{" + "port=" + port + ", name='" + name + '\'' + ", appBase='" + appBase + '\''
                + ", mapperList=" + mapperList + '}';
    }
}
